package com.example.myerp.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.sql.Blob;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhuxingyu
 * @since 2021-08-14
 */
public class Undo_log implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long branch_id;

    private String xid;

    private String context;

    private Blob rollback_info;

    private Integer log_status;

    private Date log_created;

    private Date log_modified;

    private String ext;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBranch_id() {
        return branch_id;
    }

    public void setBranch_id(Long branch_id) {
        this.branch_id = branch_id;
    }

    public String getXid() {
        return xid;
    }

    public void setXid(String xid) {
        this.xid = xid;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Blob getRollback_info() {
        return rollback_info;
    }

    public void setRollback_info(Blob rollback_info) {
        this.rollback_info = rollback_info;
    }

    public Integer getLog_status() {
        return log_status;
    }

    public void setLog_status(Integer log_status) {
        this.log_status = log_status;
    }

    public Date getLog_created() {
        return log_created;
    }

    public void setLog_created(Date log_created) {
        this.log_created = log_created;
    }

    public Date getLog_modified() {
        return log_modified;
    }

    public void setLog_modified(Date log_modified) {
        this.log_modified = log_modified;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }

    @Override
    public String toString() {
        return "Undo_log{" +
        "id=" + id +
        ", branch_id=" + branch_id +
        ", xid=" + xid +
        ", context=" + context +
        ", rollback_info=" + rollback_info +
        ", log_status=" + log_status +
        ", log_created=" + log_created +
        ", log_modified=" + log_modified +
        ", ext=" + ext +
        "}";
    }
}
